/* 
 * File:   NullImageException.cpp
 * Author: Guilherme Monteiro
 * 
 */

#include "../headers/NullImageException.h"

NullImageException::NullImageException(string imagePath) :
		exception() {
    this->imagePath = imagePath;
}

NullImageException::NullImageException(const NullImageException& orig) :
		exception(orig) {
}

NullImageException::~NullImageException() throw () {
}

const char* NullImageException::what() const throw () {
	return ("ERROR ==> Image " + this->imagePath + " can't be loaded. Change the image path or the directory of execution").c_str();
}